package com.appistry.api.rest;

import org.apache.commons.httpclient.params.HostParams;
import org.apache.commons.httpclient.params.HttpClientParams;
import org.apache.commons.httpclient.params.HttpConnectionManagerParams;
import org.apache.commons.httpclient.params.HttpMethodParams;

public abstract class AbstractManager implements HTTPConfigurable{	
	
	public HostParams getHostParams() {
		return getRestConnection().getHostParams();
	}

	public HttpClientParams getHttpClientParams() {
		return getRestConnection().getHttpClientParams();
	}

	public HttpConnectionManagerParams getHttpConnectionManagerParams() {
		return getRestConnection().getHttpConnectionManagerParams();
	}

	public HttpMethodParams getHttpMethodParams() {
		return getRestConnection().getHttpMethodParams();
	}
	
	protected abstract RestConnection getRestConnection();
}
